Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve abi types in wasmv1 #27

Merged
merged 37 commits into from
Jul 26, 2023
Merged

Conversation

bilboquet
Copy link
Collaborator

Jean-François Morcillo and others added 24 commits June 19, 2023 10:49
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
* Unify current_thread and current_period

* Removed Non 'For' ABIs

* Updated numbers in ABI Results

* Removed logs / trace / prints

* Forgot to remove some duplicated definitions
see massalabs/massa-sc-runtime#246 (comment) for details

GenerateEvent takes bytes
Use the optional keyword when appropriate
Use StringValue for optional string

Signed-off-by: Jean-François Morcillo <[email protected]>
…_message

Unsafe random and async message
@bilboquet
Copy link
Collaborator Author

We have to merge soon, so I'm opening the PR to sync with the API guys and prevent conflict as much as possible on both sides.

@bilboquet
Copy link
Collaborator Author

On the abi side we estimate that we won't have many more changes for the moment.
I think it worth merging into main so we can synchronize with the api side on shared types etc.
So feel free to comment :)

Jean-François Morcillo and others added 12 commits July 4, 2023 14:50
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
…edRequest, DateNowRequest, ProcessExitRequest

Signed-off-by: Jean-François Morcillo <[email protected]>
Signed-off-by: Jean-François Morcillo <[email protected]>
@@ -175,8 +175,11 @@ message RespResult {
SubNativeAmountResult sub_native_amount_result = 55;
TransferCoinsResult transfer_coins_result = 56;
UnsafeRandomResult unsafe_random_result = 57;
VerifyEvmSigResult verify_evm_sig_result = 58;
EvmVerifySigResult evm_verify_sig_result = 58;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't believe it!
It's not sorted!!!

VerifySigResult verify_sig_result = 59;
EvmGetAddressFromPubkeyResult evm_get_address_from_pubkey_result = 60;
EvmGetPubkeyFromSignatureResult evm_get_pubkey_from_signature_result = 61;
IsAddressEoaResult is_address_eoa_result = 62;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the meaning of this one?

Copy link
Contributor

@Leo-Besancon Leo-Besancon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved despite the lack of sorting..

@Eitu33 Eitu33 merged commit a20f10a into main Jul 26, 2023
1 of 2 checks passed
@Eitu33 Eitu33 deleted the feature/Improve_ABI_types_in_wasmv1 branch July 26, 2023 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants